package com.bdqn.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.entity.PmsProductAttribute;
import com.bdqn.entity.responseDate.pmsProduct.PmsProductAttributeDto;
import com.bdqn.mapper.PmsProductAttributeMapper;
import com.bdqn.service.PmsProductAttributeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 商品属性表 服务实现类
 * </p>
 *
 * @author hunter
 * @since 2022-04-30
 */
@Service
public class PmsProductAttributeServiceImpl extends ServiceImpl<PmsProductAttributeMapper, PmsProductAttribute> implements PmsProductAttributeService {
    @Autowired
 private PmsProductAttributeMapper pmsProductAttributeMapper;
    @Override
    public List<PmsProductAttributeDto> getListByCategoryIds(long[] categoryIds) {
        return pmsProductAttributeMapper.getListByCategoryIds(categoryIds);
    }
}
